package Client;

import java.io.IOException;

public class ServerSide {

	/**
	 * @param args
	 * @throws IOException 
	 * @throws ClassNotFoundException 
	 */
	public static void main(String[] args) throws IOException, ClassNotFoundException {
		
		PerfectPointToPointLink pl = new PerfectPointToPointLink("Server",4011,null);
		
		Message v = pl.deliver();
		System.out.println(v);
		pl.send(new  Message(new String("S:testeHeader"),new String("S:testMessage")));
		pl.closeConection();
		// TODO Auto-generated method stub

	}

}
